﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using Core.DatabaseHelpers;

namespace Core.Interfaces
{
    [Table("action")]
    public interface IAction:IDomainObject
    {
        [Column("id_action",ColumnAttribute.KeyType.Auto,true)]
        [Browsable(false)]
        int ActionId{ get; set;}
        [DisplayName("Организатор")]
        [Column("organization")]
        string Organization{ get;set; }

        [DisplayName("Дата проведения")]
        [Column("date")]
        DateTime Date { get; set; }

        [Column("id_action", true, false, "buildings", "building_action")]
        List<IBuilding> Buildings { get; set; }  
       
         
    }
}
